﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Square : Shape
    {
        protected int sideLen;

        public Square(int sideLen)
        {
            this.sideLen = sideLen;

        }
        public override void GetArea()
        {
            //base.GetArea();
            int result;
            result = this.sideLen * this.sideLen;
            Console.WriteLine(result);
        }


    }
}
